package com.hxzy.shop.marketing;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 * @ Author     ：wengjt.
 * @ Date       ：Created in 15:21 2021-07-03
 * @ Description：
 * @ Modified By：
 * @Version: $
 */
@SpringBootApplication
@EnableCaching
@EnableFeignClients
//服务注册发现
@EnableDiscoveryClient
@MapperScan(basePackages = "com.hxzy.shop.marketing.mapper")
public class MarketingApplication {
    public static void main(String[] args) {
        System.out.println("我的分销启动完成");
        SpringApplication.run(MarketingApplication.class, args);
    }
}
